//
//  main.m
//  bytedancecampus-basic-functions
//
//  Created by Magic Keegan on 8/25/21.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "model.h"
int main(int argc, char * argv[]) {
    NSString * appDelegateClassName;
   @autoreleasepool {
        NSString* path = [[NSBundle mainBundle] pathForResource:@"model"
                                                        ofType:@"geojson"];
        NSString *data = [NSString stringWithContentsOfFile:path
                                                   encoding:NSUTF8StringEncoding
                                                       error:NULL];
//        NSLog(@"data is %@",data);
        model *model1 = [[model alloc] initWithJson:data];
        [model1 showInfo];
        
        // Setup code that might create autoreleased objects goes here.
        appDelegateClassName = NSStringFromClass([AppDelegate class]);
    }
    return UIApplicationMain(argc, argv, nil, appDelegateClassName);
}
